<h1>Editing deck</h1>

<%= error_messages_for :deck %>

<% form_for(:deck, :url => deck_path(@deck), :html => { :method => :put }) do |f| %>
  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', deck_path(@deck) %> |
<%= link_to 'Back', decks_path %>